package cn.sda.leo.springStudy;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

// 启动入口
@SpringBootApplication
@EnableScheduling
public class SpringStudyApplication {

    static Logger logger = LoggerFactory.getLogger(SpringStudyApplication.class);
    public static void main(String[] args) {
        SpringApplication.run(SpringStudyApplication.class, args);
        
        logger.trace("跟踪");
        logger.debug("调试");
        logger.info("信息");
        logger.warn("警告");
        logger.error("异常");

    }
}
